home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
ugoku
/
src.lzh
/
MOVRECG
/
IRCFRM.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-09-09
|
32KB
|
1,362 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int frmDialogId[9] ;
extern int frmMesId[37] ;
extern int frmWaitNumId ;
extern int frmWaitFunc() ;
extern int frmLoopNumId ;
extern int frmLoopFunc() ;
extern int frmTIconId ;
extern int frmNextBtnId[2] ;
extern int frmNextFunc() ;
extern int frmJmpNumId ;
extern int frmJmpFunc() ;
extern int frmJmpBtnId ;
extern int frmSaveBtnId ;
extern int frmSaveFunc() ;
extern int frmDspBtnId ;
extern int frmDspFunc() ;
extern int frmNumNumId ;
extern int frmSizeNumId ;
extern int frmNumId[16] ;
extern int frmNumFunc() ;
extern int frmBtnId[4] ;
extern int frmSndFunc() ;
extern int frmCanBtnId ;
extern int frmOkFunc() ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init ùpâfü[â^ */
/* âwâbâ_ */
MMIINIT initDataIRCFRM = { "MmiInit", 78, 0 } ;
/* frmDialogId[0] */
static MMIPACKET d001 = { &frmDialogId[0],
NULL,
&MJ_ALERTL40,
OFFSET(ALERTL40),
MS_NONE
} ;
static ALERTL40 d001d = { MS_BTLEFTL40 | MS_EVMOVEL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_FIXEDL40,
0, 20, 639, 479, 8, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0,
0, 0, 0, 0
} ;
/* frmDialogId[1] */
static MMIPACKET d002 = { &frmDialogId[1],
&frmDialogId[0],
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d002d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
311, 27, 632, 268,15, 0, 8,
MS_FRAMEL40,
NULL, 0, 0
} ;
/* frmDialogId[2] */
static MMIPACKET d003 = { &frmDialogId[2],
&frmDialogId[0],
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d003d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
7, 44, 303, 198,15, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* frmDialogId[3] */
static MMIPACKET d004 = { &frmDialogId[3],
&frmDialogId[2],
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d004d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
7, 205, 303, 268,15, 6, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* frmMesId[30] */
static MMIPACKET d005 = { &frmMesId[30],
&frmDialogId[3],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d005d = { MS_CENTERL40 | MS_DSPONLYL40,
36, 216, 81, 233, 0,15, 8,
MS_NONEL40,
"âEâGâCâg",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* frmWaitNumId */
static MMIPACKET d006 = { &frmWaitNumId,
&frmDialogId[3],
&MJ_NUMBOXL40,
OFFSET(NUMBOXL40),
MS_NONE
} ;
static NUMBOXL40 d006d = { MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_RIGHTL40,
94, 213, 149, 236, 8, 6, 8,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
frmWaitFunc,
1, 12, 12,
MS_NONEL40,
0, 0,
0, 0, 999, 1, 0,
263, 264
} ;
/* frmMesId[31] */
static MMIPACKET d007 = { &frmMesId[31],
&frmDialogId[3],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d007d = { MS_CENTERL40 | MS_DSPONLYL40,
175, 216, 209, 233, 0,15, 8,
MS_NONEL40,
"âïü[âv",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* frmLoopNumId */
static MMIPACKET d008 = { &frmLoopNumId,
&frmDialogId[3],
&MJ_NUMBOXL40,
OFFSET(NUMBOXL40),
MS_NONE
} ;
static NUMBOXL40 d008d = { MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_RIGHTL40,
221, 213, 276, 236, 8, 6, 8,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
frmLoopFunc,
1, 12, 12,
MS_NONEL40,
0, 0,
0, 0, 999, 1, 0,
263, 264
} ;
/* frmTIconId */
static MMIPACKET d009 = { &frmTIconId,
&frmDialogId[3],
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d009d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
151, 245, 276, 264,15, 6, 8,
MS_NONEL40,
frmLoopFunc,
0x0000, 279, 280
} ;
/* frmMesId[32] */
static MMIPACKET d010 = { &frmMesId[32],
&frmDialogId[3],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d010d = { MS_CENTERL40 | MS_DSPONLYL40,
169, 246, 275, 263, 0,15, 8,
MS_NONEL40,
"âïü[âvâGâôâhÄwÆΦ",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* frmNextBtnId[0] */
static MMIPACKET d011 = { &frmNextBtnId[0],
&frmDialogId[2],
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d011d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
35, 71, 276, 94,12, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
frmNextFunc,
0x0000
} ;
/* frmNextBtnId[1] */
static MMIPACKET d012 = { &frmNextBtnId[1],
&frmDialogId[2],
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d012d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
35, 99, 276, 122,12, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
frmNextFunc,
0x0000
} ;
/* frmDialogId[4] */
static MMIPACKET d013 = { &frmDialogId[4],
&frmDialogId[2],
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d013d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
35, 127, 276, 164,15, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* frmJmpNumId */
static MMIPACKET d014 = { &frmJmpNumId,
&frmDialogId[4],
&MJ_NUMBOXL40,
OFFSET(NUMBOXL40),
MS_NONE
} ;
static NUMBOXL40 d014d = { MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_RIGHTL40,
217, 134, 272, 157, 8, 4, 8,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
frmJmpFunc,
1, 12, 12,
MS_NONEL40,
0, 0,
0, 0,9999, 1, 0,
263, 264
} ;
/* frmJmpBtnId */
static MMIPACKET d015 = { &frmJmpBtnId,
&frmDialogId[4],
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d015d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
44, 134, 125, 157,12, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
frmJmpFunc,
0x0000
} ;
/* frmMesId[28] */
static MMIPACKET d016 = { &frmMesId[28],
&frmDialogId[4],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d016d = { MS_CENTERL40 | MS_DSPONLYL40,
52, 137, 123, 154, 0,15, 8,
MS_NONEL40,
"âWâââôâv",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* frmMesId[29] */
static MMIPACKET d017 = { &frmMesId[29],
&frmDialogId[4],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d017d = { MS_CENTERL40 | MS_DSPONLYL40,
131, 137, 217, 154, 0,15, 8,
MS_NONEL40,
"âWâââôâvɵö╘ìå",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* frmSaveBtnId */
static MMIPACKET d018 = { &frmSaveBtnId,
&frmDialogId[2],
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d018d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
162, 169, 276, 192,12, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
frmSaveFunc,
0x0000
} ;
/* frmDspBtnId */
static MMIPACKET d019 = { &frmDspBtnId,
&frmDialogId[2],
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d019d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_E